<?php
// +----------------------------------------------------------------------
// | 平台端菜单设置
// +----------------------------------------------------------------------
return [
    [
        'name' => 'INDEX_ROOT',
        'title' => '概况',
        'url' => 'admin/index/index',
        'parent' => '',
        'is_show' => 1,
        'is_control' => 0,
        'is_icon' => 0,
        'picture' => 'app/admin/view/public/img/menu_icon/survey.png',
        'picture_selected' => 'app/admin/view/public/img/menu_icon/survey_selected.png',
        'sort' => 1,
    ],
    [
        'name' => 'SITE_ROOT',
        'title' => '运营',
        'url' => 'admin/shop/lists',
        'parent' => '',
        'is_show' => 1,
        'picture' => '',
        'picture_selected' => '',
        'sort' => 2,
        'child_list' => [
            [
                'name' => 'SHOP_LIST',
                'title' => '店铺列表',
                'url' => 'admin/shop/lists',
                'is_show' => 1,
                'sort' => 1,
                'child_list' => [
                    [
                        'name' => 'SHOP_DETAIL',
                        'title' => '店铺详情',
                        'url' => 'admin/shop/shopdetail',
                        'is_show' => 0,
                    ],
                    [
                        'name' => 'SHOP_ADD',
                        'title' => '店铺添加',
                        'url' => 'admin/shop/addshop',
                        'is_show' => 0,
                    ],
                    [
                        'name' => 'SHOP_BISIC_EDIT',
                        'title' => '修改',
                        'url' => 'admin/shop/edit',
                        'is_show' => 0,
                    ],
                ]
            ],
            [
                'name' => 'SYS_USER_INDEX',
                'title' => '用户列表',
                'url' => 'admin/sysuser/lists',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 2,
                'child_list' => [
                    [
                        'name' => 'SYS_USER_LISTS',
                        'title' => '用户列表',
                        'url' => 'admin/sysuser/lists',
                        'is_show' => 0,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 1,
                        'child_list' => [
                            [
                                'name' => 'SYS_USER_DETAIL',
                                'title' => '基础信息',
                                'url' => 'admin/sysuser/detail',
                                'is_show' => 1,
                                'sort' => 1,
                            ],
                            [
                                'name' => 'SYS_USER_SHOP_LISTS',
                                'title' => '店铺列表',
                                'url' => 'admin/sysuser/shoplists',
                                'is_show' => 1,
                                'sort' => 1,
                            ],
                            [
                                'name' => 'SYS_USER_ADD',
                                'title' => '添加系统用户',
                                'url' => 'admin/sysuser/add',
                                'is_show' => 0,
                                'sort' => 100,
                            ],
                            [
                                'name' => 'SYS_USER_EDIT',
                                'title' => '修改系统用户',
                                'url' => 'admin/sysuser/edit',
                                'is_show' => 0,
                                'sort' => 100,
                            ],
                            [
                                'name' => 'SYS_USER_ADD_SITE',
                                'title' => '添加店铺',
                                'url' => 'admin/sysuser/addsite',
                                'is_show' => 0,
                                'sort' => 100,
                            ],
                        ]
                    ],
                ]
            ],
            [
                'name' => 'SYS_USER_GROUP',
                'title' => '店铺套餐',
                'url' => 'admin/sitegroup/lists',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 3,
                'child_list' => [
                    [
                        'name' => 'SYS_USER_GROUP_LIST',
                        'title' => '套餐列表',
                        'url' => 'admin/sitegroup/lists',
                        'is_show' => 0,
                        'sort' => 1,
                        'child_list' => [
                            [
                                'name' => 'SYS_USER_GROUP_ADD',
                                'title' => '添加套餐',
                                'url' => 'admin/sitegroup/add',
                                'is_show' => 0,
                                'sort' => 1,
                            ],
                            [
                                'name' => 'SYS_USER_GROUP_EDIT',
                                'title' => '修改套餐',
                                'url' => 'admin/sitegroup/edit',
                                'is_show' => 0,
                                'sort' => 2,
                            ],
                            [
                                'name' => 'SYS_USER_GROUP_DELETE',
                                'title' => '删除套餐',
                                'url' => 'admin/sitegroup/delete',
                                'is_show' => 0,
                                'sort' => 3,
                            ],
                        ]
                    ],
                ]
            ],
            [
                'name' => 'SYS_SMS_PACKAGE',
                'title' => '短信套餐',
                'url' => 'admin/syssmspackage/lists',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 4,
                'child_list' => [
                    [
                        'name' => 'SYS_SMS_PACKAGE_LIST',
                        'title' => '短信套餐列表',
                        'url' => 'admin/syssmspackage/lists',
                        'is_show' => 0,
                        'sort' => 1,
                        'child_list' => [
                            [
                                'name' => 'SYS_SMS_PACKAGE_ADD',
                                'title' => '添加短信套餐',
                                'url' => 'admin/syssmspackage/add',
                                'is_show' => 0,
                                'sort' => 1,
                            ],
                            [
                                'name' => 'SYS_SMS_PACKAGE_EDIT',
                                'title' => '修改短信套餐',
                                'url' => 'admin/syssmspackage/edit',
                                'is_show' => 0,
                                'sort' => 2,
                            ],
                            [
                                'name' => 'SYS_SMS_PACKAGE_DELETE',
                                'title' => '删除短信套餐',
                                'url' => 'admin/syssmspackage/delete',
                                'is_show' => 0,
                                'sort' => 3,
                            ],
                        ]
                    ],
                ]
            ],
            [
                'name' => 'OPEN_SHOP_CONFIG',
                'title' => '体验开店',
                'url' => 'admin/sitegroup/config',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 5,
            ],
        ],
    ],
    [
        'name' => 'ORDER_ROOT',
        'title' => '订单',
        'url' => 'admin/sysorder/index',
        'parent' => '',
        'is_show' => 1,
        'picture' => '',
        'picture_selected' => '',
        'sort' => 3,
        'child_list' => [
            [
                'name' => 'ORDER_STAT',
                'title' => '订单概况',
                'url' => 'admin/sysorder/index',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 2,
                'child_list' => []
            ],
            [
                'name' => 'SYS_USER_ORDER',
                'title' => '订单管理',
                'url' => 'admin/sysorder/lists',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 2,
                'child_list' => [
                    [
                        'name' => 'SYS_USER_ORDER_DETAIL',
                        'title' => '订单详情',
                        'url' => 'admin/sysorder/detail',
                        'is_show' => 0,
                        'sort' => 1,
                    ],
                    [
                        'name' => 'SYS_USER_ORDER_STATUS',
                        'title' => '订单详情',
                        'url' => 'admin/sysorder/status',
                        'is_show' => 0,
                        'sort' => 1,
                    ]

                ]
            ],
        ]
    ],
    [
        'name' => 'CONFIG_ROOT',
        'title' => '设置',
        'url' => 'admin/config/webconfig',
        'parent' => '',
        'is_show' => 1,
        'picture' => 'app/admin/view/public/img/menu_icon/set_info.png',
        'picture_selected' => 'app/admin/view/public/img/menu_icon/set_info_selected.png',
        'sort' => 4,
        'child_list' => [
            [
                'name' => 'CONFIG_SYSTEM_WEBSITE',
                'title' => '网站设置',
                'url' => 'admin/config/webconfig',
                'is_show' => 1,
                'picture' => 'app/admin/view/public/img/menu_icon/system_setup.png',
                'picture_selected' => '',
                'sort' => 1,
                'child_list' => [
                    [
                        'name' => 'CONFIG_WEB',
                        'title' => '网站设置',
                        'url' => 'admin/config/webconfig',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 1,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'COPYRIGHT',
                        'title' => '版权设置',
                        'url' => 'admin/config/copyright',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 2,
                    ],
                    [
                        'name' => 'WEBSITE_NOTICE',
                        'title' => '网站公告',
                        'url' => 'admin/notice/index',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 3,
                        'child_list' => [
                            [
                                'name' => 'WEBSITE_NOTICE_ADD',
                                'title' => '添加公告',
                                'url' => 'admin/notice/addnotice',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_NOTICE_EDIT',
                                'title' => '编辑公告',
                                'url' => 'admin/notice/editnotice',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_NOTICE_DELETE',
                                'title' => '删除公告',
                                'url' => 'admin/notice/deletenotice',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_NOTICE_TOP',
                                'title' => '公告置顶',
                                'url' => 'admin/notice/modifynoticetop',
                                'is_show' => 0,
                            ],
                        ],
                    ],
                    [
                        'name' => 'WEBSITE_HELP_MANAGE',
                        'title' => '网站帮助',
                        'url' => 'admin/help/helplist',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 4,
                        'child_list' => [
                            [
                                'name' => 'WEBSITE_HELP',
                                'title' => '帮助列表',
                                'url' => 'admin/help/helplist',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_ADD',
                                'title' => '添加帮助',
                                'url' => 'admin/help/addhelp',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_EDIT',
                                'title' => '编辑帮助',
                                'url' => 'admin/help/edithelp',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_DELETE',
                                'title' => '删除帮助',
                                'url' => 'admin/help/deletehelp',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_CLASS',
                                'title' => '帮助分类',
                                'url' => 'admin/help/classlist',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 2,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_CLASS_ADD',
                                'title' => '添加分类',
                                'url' => 'admin/help/addclass',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_CLASS_EDIT',
                                'title' => '编辑分类',
                                'url' => 'admin/help/editclass',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'WEBSITE_HELP_CLASS_DELETE',
                                'title' => '删除分类',
                                'url' => 'admin/help/deleteclass',
                                'is_show' => 0,
                            ],
                        ],
                    ],
                    [
                        'name' => 'CONFIG_SYSTEM_DATABASE',
                        'title' => '数据库管理',
                        'url' => 'admin/system/database',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 5,
                        'child_list' => [
                            [
                                'name' => 'CONFIG_SYSTEM_DATABASE_LIST',
                                'title' => '数据备份',
                                'url' => 'admin/system/database',
                                'parent' => '',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                            ],
                            [
                                'name' => 'CONFIG_SYSTEM_IMPORTLIST',
                                'title' => '数据还原',
                                'url' => 'admin/system/importlist',
                                'parent' => '',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 2,
                            ],
                            [
                                'name' => 'CONFIG_SYSTEM_BACKUP',
                                'title' => '数据备份',
                                'url' => 'admin/system/backup',
                                'parent' => '',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'CONFIG_SYSTEM_DELETEBACKUP',
                                'title' => '删除备份文件',
                                'url' => 'admin/system/deletebackup',
                                'parent' => '',
                                'is_show' => 0,
                            ],
                            [
                                'name' => 'CONFIG_SYSTEM_TABLEREPAIR',
                                'title' => '数据表修复',
                                'url' => 'admin/system/tablerepair',
                                'parent' => '',
                                'is_show' => 0,
                            ],
                        ],
                    ],

                ],
            ],
            [
                'name' => 'CONFIG_SYSTEM_TOOL',
                'title' => '常用工具',
                'url' => 'admin/config/pay',
                'is_show' => 1,
                'picture' => 'app/admin/view/public/img/menu_icon/system_setup.png',
                'picture_selected' => '',
                'sort' => 2,
                'child_list' => [
                    [
                        'name' => 'CONFIG_RECEIVABLE',
                        'title' => '收款账户',
                        'url' => 'admin/config/receivable',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 0,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'CONFIG_PAY',
                        'title' => '支付设置',
                        'url' => 'admin/config/pay',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 1,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'CONFIG_UPLOAD',
                        'title' => '上传设置',
                        'url' => 'admin/upload/config',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 2,
                        'child_list' => [
                            [
                                'name' => 'CONFIG_UPLOAD_SET',
                                'title' => '上传设置',
                                'url' => 'admin/upload/config',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                            ],
                            [
                                'name' => 'UPLOAD_OSS',
                                'title' => '云上传',
                                'url' => 'admin/upload/oss',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 2,
                            ],
                        ],
                    ],
                    [
                        'name' => 'CONFIG_CAPTCHA',
                        'title' => '验证码设置',
                        'url' => 'admin/config/captcha',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 3,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'CONFIG_API',
                        'title' => 'api安全',
                        'url' => 'admin/config/api',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 4,
                    ],
                    [
                        'name' => 'MESSAGE_LISTS',
                        'title' => '消息管理',
                        'url' => 'admin/message/lists',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 5,
                        'child_list' => [
                            [
                                'name' => 'MESSAGE_EMAIL_EDIT',
                                'title' => '编辑邮件模板',
                                'url' => 'admin/message/editEmailMessage',
                                'parent' => '',
                                'is_show' => 0,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                                'child_list' => [],
                            ],
                        ],
                    ],
                    [
                        'name' => 'SMS_MANAGE',
                        'title' => '短信管理',
                        'url' => 'admin/message/sms',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 6,
                        'child_list' => [
                            [
                                'name' => 'SMS_LIST',
                                'title' => '短信配置',
                                'url' => 'admin/message/sms',
                                'parent' => '',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                                'child_list' => [],
                            ],
                            [
                                'name' => 'SMS_RECORDS',
                                'title' => '发送记录',
                                'url' => 'admin/message/smsrecords',
                                'parent' => '',
                                'is_show' => 1,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                                'child_list' => [],
                            ],
                        ],
                    ],
                    [
                        'name' => 'CONFIG_SYSTEM_CACHE',
                        'title' => '缓存管理',
                        'url' => 'admin/system/cache',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 7,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'SYSTEM_H5_REFRESH',
                        'title' => 'H5端刷新',
                        'url' => 'admin/system/refreshh5',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 8,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'SYSTEM_UNIAPP_DOWNLOAD',
                        'title' => 'Uniapp下载',
                        'url' => 'admin/system/uniapp',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 9,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'EXPRESS_COMPANY_ROOT',
                        'title' => '物流公司',
                        'url' => 'admin/express/expresscompany',
                        'is_show' => 1,
                        'is_control' => 1,
                        'is_icon' => 0,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 10,
                        'child_list' => [
                            [
                                'name' => 'EXPRESS_COMPANY',
                                'title' => '物流公司',
                                'url' => 'admin/express/expresscompany',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                                'picture' => '',
                                'picture_selected' => '',
                                'sort' => 1,
                            ],
                            [
                                'name' => 'DELIVERY_EXPRESS_ADD',
                                'title' => '添加物流公司',
                                'url' => 'admin/express/addcompany',
                                'is_show' => 0,
                                'picture' => '',
                                'picture_selected' => '',
                                'child_list' => [],
                            ],
                            [
                                'name' => 'DELIVERY_EXPRESS_EDIT',
                                'title' => '编辑物流公司',
                                'url' => 'admin/express/editcompany',
                                'is_show' => 0,
                                'picture' => '',
                                'picture_selected' => '',
                                'child_list' => [],
                            ],
                            [
                                'name' => 'DELIVERY_EXPRESS_DELETE',
                                'title' => '删除物流公司',
                                'url' => 'admin/express/deletecompany',
                                'is_show' => 0,
                                'picture' => '',
                                'picture_selected' => '',
                                'child_list' => [],
                            ]
                        ]
                    ],
                    [
                        'name' => 'SYSTEM_MAP_CONFIG',
                        'title' => '地图配置',
                        'url' => 'admin/config/map',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 11,
                        'child_list' => [],
                    ],
                    [
                        'name' => 'SYSTEM_CONFIG_DEFAULT_PICTURE',
                        'title' => '默认图设置',
                        'url' => 'admin/config/defaultPicture',
                        'parent' => '',
                        'is_show' => 1,
                        'picture' => '',
                        'picture_selected' => '',
                        'sort' => 12,
                    ],
//                    [
//                        'name' => 'SYSTEM_INVOICE_CONFIG',
//                        'title' => '发票设置',
//                        'url' => 'admin/config/invoice',
//                        'is_show' => 1,
//                        'picture' => '',
//                        'picture_selected' => '',
//                        'sort' => 9,
//                        'child_list' => [
//                        ],
//                    ],
                ],
            ],
        ],
    ],
    [
        'name' => 'UPGRADE_ROOT',
        'title' => '授权升级',
        'url' => 'admin/upgrade/auth',
        'is_show' => 1,
        'picture' => 'app/admin/view/public/img/menu_icon/system_setup.png',
        'picture_selected' => '',
        'sort' => 5,
        'child_list' => [
            [
                'name' => 'AUTH_INFO',
                'title' => '系统授权',
                'url' => 'admin/upgrade/auth',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 1,
            ],
            [
                'name' => 'SYSTEM_ADDON',
                'title' => '插件管理',
                'url' => 'admin/system/addon',
                'parent' => '',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 2,
            ],
            [
                'name' => 'UPGRADE_INFO',
                'title' => '系统升级',
                'url' => 'admin/upgrade/upgrade',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 3,
                'child_list' => [
                    [
                        'name' => 'UPGRADE_ACTION',
                        'title' => '升级操作 ',
                        'url' => 'admin/upgrade/upgradeAction',
                        'parent' => '',
                        'is_show' => 0,
                    ],
                ],
            ],
            [
                'name' => 'RECOVERY_INFO',
                'title' => '系统回滚',
                'url' => 'admin/upgrade/recovery',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 4,
                'child_list' => [
                    [
                        'name' => 'RECOVERY_ACTION',
                        'title' => '回滚操作 ',
                        'url' => 'admin/upgrade/recoveryAction',
                        'parent' => '',
                        'is_show' => 0,
                    ],
                ],
            ],
            [
                'name' => 'VERSION_LOG',
                'title' => '更新日志',
                'url' => 'admin/upgrade/versionLog',
                'is_show' => 1,
                'picture' => '',
                'picture_selected' => '',
                'sort' => 5,
            ],
        ],
    ],
];